//
//  AccountBookStyleDetailCell.m
//  ProjectOneDemo
//
//  Created by dllo on 16/5/18.
//  Copyright © 2016年 wjg. All rights reserved.
//

#import "AccountBookStyleDetailCell.h"
#import "Common.h"

#define WIDTH [UIScreen mainScreen].bounds.size.width


@implementation AccountBookStyleDetailCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    
    self.contentView.backgroundColor = [UIColor whiteColor];
    
    self.picImageView = [[UIImageView alloc]initWithFrame:CGRectMake(((WIDTH - ((WIDTH / 3) - 40) * 3) / 6) , 10, (WIDTH / 3) - 40, (WIDTH / 3) - 20)];
    self.picImageView.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:self.picImageView];
    
    self.lineView = [[UIView alloc] initWithFrame:CGRectMake(0, self.contentView.frame.size.height - 1, WIDTH, 1)];
    [self.contentView addSubview:_lineView];
    self.lineView.backgroundColor = LIGHT_GRAY;
    
    
    
}

@end
